<%--
  Created by IntelliJ IDEA.
  User: 张怡帆
  Date: 2022/12/9
  Time: 11:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        .main {
            position: relative;
            width: 500px;
            height: 700px;
            background-color: darkgray;
            margin-left: 50px;
        }

        input {
            color: darkgray;
            height: 40px;
            width: 250PX;
            margin-top: 40px;
            border-radius: 5px;
        }

        .tijiao {
            position: absolute;
            width: 50px;
            height: 30px;
            background-color: white;
            left: 20%;
            border-radius: 5px;
            color: black;

        }

        button {
            position: absolute;
            left: 50%;
            margin-top: 40px;
        }
    </style>
</head>
<body>
<form action="/teacherstudent" method="post">
    <div class="main">
        <div>学号:&emsp;<input required type="text" name="stu_id" value="${student.stu_id}" readonly/></div>
        <div>中文名:<input required type="text" name="Cname" value=""/></div>
        <div>英文名:<input required type="text" name="Ename" value=""/></div>
        <div>号码:&emsp;<input required type="tel" pattern="^[1]+[3,8]+\d{9}$" name="Ntel" value=""/></div>
        <div>班级:&emsp;<input required type="text" name="Nclass" value=""/></div>
        <div>学期:&emsp;<input required type="text" name="semester" value=""/></div>
        <div>学籍:&emsp;<input required type="text" name="status" value="${student.status}" readonly/></div>
        <input type="submit" value="提交" class="tijiao">
        <button type="reset">重置</button>
    </div>
</form>

</body>
</html>
